var loginUser = "";//current login user info
var contextPath = "http://localhost:8080/";
var URL_UMS = contextPath;//统一用户域名
var URL_PORTAL = contextPath;//门户域名
var URL_STATIC = contextPath;//静态域名
var URL_FS = contextPath;//文件系统域名
var URL_CMS = contextPath;//内容管理系统域名
//系统url对象
var SYSURL = {
    UMS : URL_UMS
    ,PORTAL : URL_PORTAL
    ,STATIC : URL_STATIC
    ,FS : URL_FS
    ,URL_CMS : URL_CMS
};
window.UEDITOR_HOME_URL = URL_STATIC + "static/plugin/UEditor/";//富文本编辑器地址
var URL_MENU = "{URL_UMS}ums/navigate/getMenu";//菜单地址
var URL_LOGIN = "{URL_UMS}sso/login";//登录地址
var LOCAL_STORAGE_KEY_TOKEN = "SSO_KEY_TOKEN";//单点登录的认证token在本地存储的key
var SSO_TOKEN = '';//令牌,向后端发送请求时携带上:_token=xxxx
var REQUEST_DATA_KEY_TOKEN = '_token';//向后端传输令牌时的key
if(window.sessionStorage){
    SSO_TOKEN = sessionStorage.getItem(LOCAL_STORAGE_KEY_TOKEN);//取令牌
}